﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using AzukiMap.MapSource;
using AzukiMap.Map;
using SLDrawingCanvas;

namespace AzukiMap.Layer
{
    public class DrawingLayer : Layer
    {
        DrawingCanvas _drawingCanvas;

        public DrawingLayer(MapCanvas mapCanvas, MapSourceTypes dataType, IMapSource mapSource)
            : base(mapCanvas, dataType, mapSource)
        {
            _drawingCanvas = new DrawingCanvas();
            mapCanvas.Children.Add(_drawingCanvas);
            _drawingCanvas.Height = 2000;
            _drawingCanvas.Width = 2000;
        }
    }
}
